﻿namespace ACCOUNTING
{
    using ACCOUNTING.My;
    using ACCOUNTING.My.Resources;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_DangKyDuLieu : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("ChkDuLieuMau")]
        private CheckBox _ChkDuLieuMau;
        [AccessedThroughProperty("CmdThoat")]
        private Button _CmdThoat;
        [AccessedThroughProperty("CmdThucHien")]
        private Button _CmdThucHien;
        [AccessedThroughProperty("GroupBox1")]
        private GroupBox _GroupBox1;
        [AccessedThroughProperty("RadKetNoiDuLieu")]
        private RadioButton _RadKetNoiDuLieu;
        [AccessedThroughProperty("RadTaoMoiDuLieu")]
        private RadioButton _RadTaoMoiDuLieu;
        private IContainer components;

        [DebuggerNonUserCode]
        public Frm_DangKyDuLieu()
        {
            base.Load += new EventHandler(this.Frm_DangKyDuLieu_Load);
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.InitializeComponent();
        }

        private void CmdThoat_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void CmdThucHien_Click(object sender, EventArgs e)
        {
            if (this.RadTaoMoiDuLieu.Checked)
            {
                MyProject.Forms.Frm_TaoDuLieuMoi.Text = "TAO DU LIEU MOI";
                if (this.ChkDuLieuMau.Checked)
                {
                    MyProject.Forms.Frm_TaoDuLieuMoi.pLoai = 1;
                }
                else
                {
                    MyProject.Forms.Frm_TaoDuLieuMoi.pLoai = 0;
                }
                MyProject.Forms.Frm_TaoDuLieuMoi.ShowDialog();
                this.Dispose();
            }
            if (this.RadKetNoiDuLieu.Checked)
            {
                MyProject.Forms.Frm_KetNoiCSDL.ShowDialog();
                this.Dispose();
            }
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        private void Frm_DangKyDuLieu_Load(object sender, EventArgs e)
        {
            this.RadTaoMoiDuLieu.Checked = true;
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            this.GroupBox1 = new GroupBox();
            this.RadKetNoiDuLieu = new RadioButton();
            this.RadTaoMoiDuLieu = new RadioButton();
            this.CmdThucHien = new Button();
            this.CmdThoat = new Button();
            this.ChkDuLieuMau = new CheckBox();
            this.GroupBox1.SuspendLayout();
            this.SuspendLayout();
            this.GroupBox1.BackColor = Color.Transparent;
            this.GroupBox1.Controls.Add(this.RadKetNoiDuLieu);
            this.GroupBox1.Controls.Add(this.RadTaoMoiDuLieu);
            Point point = new Point(6, 5);
            this.GroupBox1.Location = point;
            this.GroupBox1.Name = "GroupBox1";
            Size size = new Size(0x13f, 0x7c);
            this.GroupBox1.Size = size;
            this.GroupBox1.TabIndex = 3;
            this.GroupBox1.TabStop = false;
            this.GroupBox1.Text = "H\x00ecnh thức đăng k\x00fd dữ liệu";
            this.RadKetNoiDuLieu.AutoSize = true;
            this.RadKetNoiDuLieu.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            point = new Point(0x41, 0x44);
            this.RadKetNoiDuLieu.Location = point;
            this.RadKetNoiDuLieu.Name = "RadKetNoiDuLieu";
            size = new Size(0x95, 0x11);
            this.RadKetNoiDuLieu.Size = size;
            this.RadKetNoiDuLieu.TabIndex = 0;
            this.RadKetNoiDuLieu.TabStop = true;
            this.RadKetNoiDuLieu.Text = "Kết nối dữ liệu sẵn c\x00f3";
            this.RadKetNoiDuLieu.UseVisualStyleBackColor = true;
            this.RadTaoMoiDuLieu.AutoSize = true;
            this.RadTaoMoiDuLieu.Checked = true;
            this.RadTaoMoiDuLieu.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            point = new Point(0x41, 0x29);
            this.RadTaoMoiDuLieu.Location = point;
            this.RadTaoMoiDuLieu.Name = "RadTaoMoiDuLieu";
            size = new Size(0xad, 0x11);
            this.RadTaoMoiDuLieu.Size = size;
            this.RadTaoMoiDuLieu.TabIndex = 0;
            this.RadTaoMoiDuLieu.TabStop = true;
            this.RadTaoMoiDuLieu.Text = "Tạo dữ liệu mới ho\x00e0n to\x00e0n";
            this.RadTaoMoiDuLieu.UseVisualStyleBackColor = true;
            this.CmdThucHien.Image = ACCOUNTING.My.Resources.Resources.Selected;
            this.CmdThucHien.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x95, 0x8b);
            this.CmdThucHien.Location = point;
            this.CmdThucHien.Name = "CmdThucHien";
            size = new Size(0x5f, 0x17);
            this.CmdThucHien.Size = size;
            this.CmdThucHien.TabIndex = 5;
            this.CmdThucHien.Text = "Thực hiện";
            this.CmdThucHien.UseVisualStyleBackColor = true;
            this.CmdThoat.Image = ACCOUNTING.My.Resources.Resources.Closed;
            this.CmdThoat.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(250, 0x8b);
            this.CmdThoat.Location = point;
            this.CmdThoat.Name = "CmdThoat";
            size = new Size(0x4b, 0x17);
            this.CmdThoat.Size = size;
            this.CmdThoat.TabIndex = 4;
            this.CmdThoat.Text = "Tho\x00e1t";
            this.CmdThoat.UseVisualStyleBackColor = true;
            this.ChkDuLieuMau.AutoSize = true;
            this.ChkDuLieuMau.BackColor = Color.Transparent;
            this.ChkDuLieuMau.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            point = new Point(6, 0x8f);
            this.ChkDuLieuMau.Location = point;
            this.ChkDuLieuMau.Name = "ChkDuLieuMau";
            size = new Size(0x5d, 0x11);
            this.ChkDuLieuMau.Size = size;
            this.ChkDuLieuMau.TabIndex = 6;
            this.ChkDuLieuMau.Text = "Dữ liệu mẫu";
            this.ChkDuLieuMau.UseVisualStyleBackColor = false;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            this.BackgroundImage = ACCOUNTING.My.Resources.Resources.background;
            size = new Size(0x14e, 0xa7);
            this.ClientSize = size;
            this.Controls.Add(this.ChkDuLieuMau);
            this.Controls.Add(this.GroupBox1);
            this.Controls.Add(this.CmdThucHien);
            this.Controls.Add(this.CmdThoat);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Frm_DangKyDuLieu";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "DANG KY DU LIEU";
            this.GroupBox1.ResumeLayout(false);
            this.GroupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        internal virtual CheckBox ChkDuLieuMau
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ChkDuLieuMau;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ChkDuLieuMau = value;
            }
        }

        internal virtual Button CmdThoat
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdThoat;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdThoat_Click);
                if (this._CmdThoat != null)
                {
                    this._CmdThoat.Click -= handler;
                }
                this._CmdThoat = value;
                if (this._CmdThoat != null)
                {
                    this._CmdThoat.Click += handler;
                }
            }
        }

        internal virtual Button CmdThucHien
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdThucHien;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdThucHien_Click);
                if (this._CmdThucHien != null)
                {
                    this._CmdThucHien.Click -= handler;
                }
                this._CmdThucHien = value;
                if (this._CmdThucHien != null)
                {
                    this._CmdThucHien.Click += handler;
                }
            }
        }

        internal virtual GroupBox GroupBox1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._GroupBox1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._GroupBox1 = value;
            }
        }

        internal virtual RadioButton RadKetNoiDuLieu
        {
            [DebuggerNonUserCode]
            get
            {
                return this._RadKetNoiDuLieu;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._RadKetNoiDuLieu = value;
            }
        }

        internal virtual RadioButton RadTaoMoiDuLieu
        {
            [DebuggerNonUserCode]
            get
            {
                return this._RadTaoMoiDuLieu;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._RadTaoMoiDuLieu = value;
            }
        }
    }
}

